# 项目名称
PROJECT_NAME="KeepVpn"
mkdir -p ${PROJECT_NAME}
# 命令行程序
GOOS=windows GOARCH=amd64 go build -o index.exe main.go
mv index.exe ${PROJECT_NAME}/
# 配置文件
cp config.yaml ${PROJECT_NAME}/
# 打包
zip -r ${PROJECT_NAME}.zip ./${PROJECT_NAME}
mv ${PROJECT_NAME}.zip /Users/wujingtao/Downloads
rm -rf ./${PROJECT_NAME}